/*
 * Created on 2005-10-13
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package com.bytime.uams.action.common;

import com.bytime.uams.deptmanage.enti.CdeptInfo;

/**
 * @author Administrator
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class CdeptInfoEx
{
	private String dept_code;
	private String dept_name;
	private String parent_dept_code;
	private String parent_dept_name;
	private String phone;
	private String super_people;
	/**
	 * @return
	 */
	public String getDept_code()
	{
		return dept_code;
	}

	/**
	 * @return
	 */
	public String getDept_name()
	{
		return dept_name;
	}

	/**
	 * @return
	 */
	public String getParent_dept_code()
	{
		return parent_dept_code;
	}

	/**
	 * @return
	 */
	public String getParent_dept_name()
	{
		return parent_dept_name;
	}

	/**
	 * @return
	 */
	public String getPhone()
	{
		return phone;
	}

	/**
	 * @return
	 */
	public String getSuper_people()
	{
		return super_people;
	}

	/**
	 * @param string
	 */
	public void setDept_code(String string)
	{
		dept_code = string;
	}

	/**
	 * @param string
	 */
	public void setDept_name(String string)
	{
		dept_name = string;
	}

	/**
	 * @param string
	 */
	public void setParent_dept_code(String string)
	{
		parent_dept_code = string;
	}

	/**
	 * @param string
	 */
	public void setParent_dept_name(String string)
	{
		parent_dept_name = string;
	}

	/**
	 * @param string
	 */
	public void setPhone(String string)
	{
		phone = string;
	}

	/**
	 * @param string
	 */
	public void setSuper_people(String string)
	{
		super_people = string;
	}
	
	public void setDeptInfoEx( CdeptInfo obj, String strParent_dept_name )
	{
		this.setDept_code( obj.getDept_code() );
		this.setDept_name( obj.getDept_name() );
		this.setParent_dept_code( obj.getParent_dept_code() );
		this.setParent_dept_name( strParent_dept_name );
		this.setPhone( obj.getPhone() );
		this.setSuper_people( obj.getSuper_people() );
	}

}
